<?php

/**
 * @author shuang
 * @date 2016-11-7 18:58:03
 */
use yii\helpers\Url;
?>
<div class="navbar navbar-default navbar-fixed-top" style="z-index:999;">
    <div class="navbar-inner" >
        <a href="<?php echo Url::toRoute(["site/index"]); ?>" class="pull-left"><img src="/images/logo.gif" class="img-responsive"> </a>
        <ul class="nav pull-right">
            <li class="dropdown">
                <a href="<?php echo Url::toRoute(["site/index"]); ?>" class="dropdown-toggle" >首页</a>
            </li>
            <li class="dropdown">
                <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">任务管理<span class="caret"></span></a>
                <ul class="dropdown-menu  dropdown-menu-function">
                    <li><a href="<?php echo Url::toRoute(["task/add"]); ?>"><span>发布任务</span></a></li>
                    <li><a href="<?php echo Url::toRoute(["task/mywork"]); ?>"><span>我的任务</span></a></li>
                    <li><a href="<?php echo Url::toRoute(["task/tousu"]); ?>"><span>投诉列表</span></a></li>
                </ul>
            </li>
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">账号管理<span class="caret"></span></a>
                <ul class="dropdown-menu dropdown-menu-function">
                    <li><a href="<?php echo Url::toRoute(["profile/info"]); ?>"><span>账户详情</span></a></li>
                    <li><a href="<?php echo Url::toRoute(["profile/userbind"]); ?>"><span>我的下线</span></a></li>
                    <li><a href="<?php echo Url::toRoute(["account/tradedetail"]); ?>"><span>交易明细</span></a></li>
<!--                    <li><a href="<?php //echo Url::toRoute(["account/payout"]);     ?>"><span>支出明细</span></a></li>-->
                    <li><a href="<?php echo Url::toRoute(["profile/updatepwd"]); ?>"><span>修改密码</span></a></li>
                </ul>
            </li>
            <li class="dropdown">
                <a href="<?php echo Url::toRoute(["account/pay"]); ?>" class="dropdown-toggle">在线充值</a>
            </li>
            <!--            <li class="dropdown">
                            <a href="<?php //echo Url::toRoute(["grade/level"]);     ?>" class="dropdown-toggle" >代理升级</a>
                        </li>-->
            <li class="dropdown">
                <a href="<?php echo Url::toRoute(["article/help"]); ?>" class="dropdown-toggle" >帮助中心</a>
            </li>
            <li class="dropdown">
                <a href="<?php echo Url::toRoute(["site/logout"]); ?>" class="dropdown-toggle" >安全退出</a>
            </li>
        </ul>
    </div>
</div>